<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>河套灌区农业面源污染决策支持系统 - 相关网站</title>
    <link rel="stylesheet" href="https://js.arcgis.com/4.28/esri/themes/light/main.css">
    <script src="https://js.arcgis.com/4.28/"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
        }
        
        body {
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.6;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        
        /* 头部容器 */
        .header-container {
            background-color: rgb(0,135,60);
            color: white;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            position: relative;
        }
        
        /* 校徽样式 */
        .xiaohui {
            position: absolute;
            top: 10px;
            left: 10px;
            display: block;
        }
        
        /* 标题容器 */
        .title-container {
            flex: 1;
            text-align: center;
        }
        
        /* 中文标题 */
        .chinese-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 5px;
            letter-spacing: 2px;
        }
        
        /* 英文标题 */
        .english-title {
            font-size: 16px;
            letter-spacing: 1px;
        }
        
        /* 用户信息区域 */
        .user-info {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
        }
        
        .welcome {
            margin-right: 15px;
            font-size: 16px;
        }
        
        button {
            font-size: 14px;
            padding: 5px 10px;
            border: 1px solid white;
            border-radius: 3px;
            background: transparent;
            color: white;
            cursor: pointer;
        }
        
        button:hover {
            background-color: rgba(255,255,255,0.2);
        }
        
        .container {
            max-width: 80%;
            margin: 0 auto;
            padding: 0 15px;
            flex: 1;
        }
        
        /* 导航栏 */
        .navbar {
            background-color: #1a5f1a;
            padding: 10px 0;
        }
        
        .nav-menu {
            display: flex;
            justify-content: center;
            list-style: none;
            flex-wrap: wrap;
        }
        
        .nav-menu li {
            margin: 0 15px;
        }
        
        .nav-menu a {
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            padding: 5px 10px;
            transition: all 0.3s;
        }
        
        .nav-menu a:hover {
            background-color: #0e4a0e;
            border-radius: 3px;
        }
        
        /* 主要内容 */
        .main-content {
            display: flex;
            width: 100%;
            margin: 15px 0;
        }
        
        .sidebar {
            width: 250px;
            background-color: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            margin-right: 30px;
            flex: none; 
        }
        
        .sidebar-title {
            font-size: 18px;
            color: rgb(0,135,60);
            padding-bottom: 10px;
            border-bottom: 1px solid #e0e0e0;
            margin-bottom: 15px;
          
        }
        
        .sidebar-menu {
            list-style: none;
        }
        
        .sidebar-menu li {
            margin-bottom: 10px;
        }
        
        .sidebar-menu a {
            color: #333;
            text-decoration: none;
            display: block;
            padding: 8px 5px;
            transition: all 0.3s;
        }
        
        .sidebar-menu a:hover {
            color: #1a5f1a;
            background-color: #f0f0f0;
            border-radius: 3px;
        }
        
        .content {
            flex: 5;
            background-color: #fff;
            padding: 30px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .content-title {
            font-size: 22px;
            color: #1a5f1a;
            padding-bottom: 15px;
            border-bottom: 1px solid #e0e0e0;
            margin-bottom: 30px;
            text-align: center;
        }
        
        /* 相关网站展示样式 */
        .websites-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-top: 20px;
        }
        
        .website-row {
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin-bottom: 30px;
        }
        
        .website-row:last-child {
            margin-bottom: 0;
        }
        
        .website-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: transform 0.3s ease;
            padding: 20px;
            border-radius: 8px;
            background-color: #f9f9f9;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            width: 31%;
            min-height: 380px;
        }
        
        .website-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
            background-color: #f0f9f0;
        }
        
        .website-img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #1a5f1a;
            margin-bottom: 15px;
            background-color: #e0f0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .website-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .website-name {
            font-weight: bold;
            font-size: 18px;
            color: #1a5f1a;
            margin: 15px 0;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .website-desc {
            font-size: 14px;
            color: #555;
            line-height: 1.7;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .website-link {
            display: inline-block;
            background-color: #1a5f1a;
            color: white;
            padding: 10px 20px;
            border-radius: 4px;
            text-decoration: none;
            font-size: 15px;
            transition: background-color 0.3s;
            width: 100%;
            text-align: center;
        }
        
        .website-link:hover {
            background-color: #0e4a0e;
        }
        
        /* 第二行样式 */
        .second-row {
            justify-content: center;
        }
        
        .second-row .website-card {
            width: 48%;
            margin: 0 10px;
        }
        
        /* 页脚 */
        .footer {
            text-align: center;
            width: 100%;
            background-color: #1a5f1a;
            padding: 20px 0;
            border-top: 1px solid #e9ecef;
            color:#fff;
            margin-top: 30px;
        }
        
        /* 响应式设计 */
        @media (max-width: 1200px) {
            .website-card {
                width: 30%;
            }
            
            .second-row .website-card {
                width: 45%;
            }
        }
        
        @media (max-width: 992px) {
            .website-row {
                flex-direction: column;
                align-items: center;
            }
            
            .website-card {
                width: 80%;
                margin-bottom: 20px;
            }
            
            .second-row .website-card {
                width: 80%;
                margin: 0 0 20px 0;
            }
        }
        
        @media (max-width: 768px) {
            .main-content {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
            }
            
            .nav-menu {
                justify-content: flex-start;
                padding: 0 15px;
            }
            
            .nav-menu li {
                margin: 5px 10px;
            }
            
            .website-card {
                width: 100%;
            }
        }
        
        .sidebar-menu a.active {
            color: black;
            background-color: rgb(232, 230, 230);
            border-radius: 3px;
            font-weight: bold;
        }

        .sidebar-menu a.active:hover {
            background-color:  rgb(232, 230, 230);
        }
        
        .website-icon {
            font-size: 48px;
            color: #1a5f1a;
        }
    </style>
</head>
<body>
    <!-- 头部区域 -->
    <div class="header-container">
        <!-- 校徽 -->
        <img src="C:\Users\10484\Desktop\网页开发\footer_logo.png"
             width="190px"
             height="60px"
             class="xiaohui">
        
        <!-- 标题 -->
        <div class="title-container">
            <div class="chinese-title">河套灌区农业面源污染决策支持系统</div>
            <div class="english-title">Decision Support System for Agricultural Non-Point Source Pollution in the Hetao Irrigation District</div>
        </div>
        
        <!-- 用户信息 -->
        <div class="user-info">
            <span class="welcome">用户您好</span>
            <button type="button" onclick="window.location.href='封面.html'">退出登录</button>
        </div>
    </div>
    
    <!-- 导航栏 -->
    <nav class="navbar">
        <div class="container">
            <ul class="nav-menu">
                <li><a href="#"onclick="window.location.href='首页.html'">首页</a></li>
                <li><a href="#"onclick="window.location.href='weather.html'">属性数据</a></li>
                <li><a href="#"onclick="window.location.href='包气带介质类型.html'">空间数据</a></li>
                <li><a href="#"onclick="window.location.href='案例.html'">模型库</a></li>
                <li><a href="#"onclick="window.location.href='地表水环境质量标准.html'">知识库</a></li>
                <li><a href="#" class="active">相关网站</a></li>
            </ul>
        </div>
    </nav>
  
    <!-- 主要内容 -->
    <div class="container">
        <div class="main-content">
            <!-- 侧边栏 -->
            <aside class="sidebar">
                <h3 class="sidebar-title">相关网站</h3>
                <ul class="sidebar-menu">
                    <li><a href="#"onclick="window.location.href='https://www.mee.gov.cn/'">生态环境部</a></li>
                    <li><a href="#"onclick="window.location.href='https://www.moa.gov.cn/'">农业农村部</a></li>
                    <li><a href="#"onclick="window.location.href='http://www.zghtgq.cn/'">河套灌区水利发展中心</a></li>
                    <li><a href="#"onclick="window.location.href='https://sklawr.cau.edu.cn/'">农业水资源高效利用全国重点实验室</a></li>
                    <li><a href="#"onclick="window.location.href='http://ciicta.cau.edu.cn/'">中国-以色列国际农业培训中心</a></li>
                </ul>
            </aside>
            
            <!-- 主要内容区 -->
            <main class="content">
                <h2 class="content-title">相关网站</h2>
                
                <!-- 相关网站展示区 -->
                <div class="websites-container">
                    <!-- 第一行 - 三个网站 -->
                    <div class="website-row">
                        <div class="website-card">
                            <div class="website-img">
                                <div class="website-icon">🌿</div>
                            </div>
                            <div class="website-name">生态环境部</div>
                            <div class="website-desc">负责全国生态环境保护的监督管理，制定环境保护政策、法规和标准，组织开展环境监测、执法和监督工作，推动生态文明建设。</div>
                            <a href="https://www.mee.gov.cn/" class="website-link" target="_blank">访问网站</a>
                        </div>
                        
                        <div class="website-card">
                            <div class="website-img">
                                <div class="website-icon">🌾</div>
                            </div>
                            <div class="website-name">农业农村部</div>
                            <div class="website-desc">负责全国农业和农村经济发展战略与政策研究，推进农业现代化，指导农业生产和农村经济发展，促进农民增收和乡村振兴。</div>
                            <a href="https://www.moa.gov.cn/" class="website-link" target="_blank">访问网站</a>
                        </div>
                        
                        <div class="website-card">
                            <div class="website-img">
                                <div class="website-icon">💧</div>
                            </div>
                            <div class="website-name">河套灌区水利发展中心</div>
                            <div class="website-desc">负责河套灌区水利工程的规划、建设、管理和维护，推动灌区水资源高效利用和可持续发展，保障农业生产用水需求。</div>
                            <a href="http://www.zghtgq.cn/" class="website-link" target="_blank">访问网站</a>
                        </div>
                    </div>
                    
                    <!-- 第二行 - 两个网站 -->
                    <div class="website-row second-row">
                        <div class="website-card">
                            <div class="website-img">
                                <div class="website-icon">🔬</div>
                            </div>
                            <div class="website-name">农业水资源高效利用全国重点实验室</div>
                            <div class="website-desc">开展农业水资源高效利用技术研究，推动节水灌溉技术创新，促进农业可持续发展，为水资源管理提供科技支撑。</div>
                            <a href="https://sklawr.cau.edu.cn/" class="website-link" target="_blank">访问网站</a>
                        </div>
                        
                        <div class="website-card">
                            <div class="website-img">
                                <div class="website-icon">🌍</div>
                            </div>
                            <div class="website-name">中国-以色列国际农业培训中心</div>
                            <div class="website-desc">促进中以农业科技交流与合作，引进以色列先进农业技术，开展农业技术培训和示范推广，提升中国农业现代化水平。</div>
                            <a href="http://ciicta.cau.edu.cn/" class="website-link" target="_blank">访问网站</a>
                        </div>
                    </div>
                </div>
            </main>
        </div>
    </div>
    
    <!-- 页脚 -->
    <footer class="footer">
        <div class="container">
            <p>© 2025 河套灌区农业面源污染决策支持系统 版权所有</p>
        </div>
    </footer>
    
    <script>
        // 为侧边栏菜单添加点击事件
        document.querySelectorAll('.sidebar-menu a').forEach(item => {
            item.addEventListener('click', function(e) {
                // 移除所有active类
                document.querySelectorAll('.sidebar-menu a').forEach(link => {
                    link.classList.remove('active');
                });
                // 为当前点击项添加active类
                this.classList.add('active');
            });
        });
        
        // 设置导航栏当前选中项
        document.querySelectorAll('.nav-menu a').forEach(item => {
            if (item.textContent === "相关网站") {
                item.classList.add('active');
            }
        });
    </script>
</body>
</html>